package cn.ym.pet.mapper;

import cn.ym.pet.domain.Pet;
import cn.ym.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ym
 * @since 2022-11-11
 */
public interface PetMapper extends BaseMapper<Pet> {
    //下架
    void updateState(@Param("ids")Long[] ids, @Param("date")Date date);
    //审核通过
    void updateOnSaleState(@Param("id")Long id,@Param("date")Date date);
}
